/*
 * @Author       : java难吗 1774795243@qq.com
 * @Date         : 2022-09-09 18:26:06
 * @LastEditors  : java难吗 1774795243@qq.com
 * @LastEditTime : 2022-09-09 23:46:12
 * @FilePath     : \2_0_start\src\index1.ts
 * @Description  : 
 * @From
 */

// console.log(require.cache);

// ts-node-dev --respawn --transpile-only ./src/index1.ts
import { expectType } from 'tsd';
console.log("Hello TypeScript111");
interface Foo {
  name: string;
  age: number;
}

interface Bar {
  name: string;
  job: string;
}

declare let foo: Foo;
declare let bar: Bar;
expectType<string>("linbudu");
// expectType<string>(599); // ×
// foo = bar;